@import './index.less';

body {
  font-family: "Helvetica, Arial, sans-serif;";
}

.CRM {
}

.clearfix:after{
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}

#app {


  &.overflow-hidden {
    overflow:hidden;
  }

  .disabled {
    background-color: #e5e5e5;
    color: white;
  }

  .require-mark {
    font-style: normal;
    display: inline-block;
    font-size: 12px;
    color: red;
    padding-right: 2px;
  }

  .bg-white {
    background-color: white;
  }
}

.view-more {
  text-align: center;
  color: #39ADFF;
  cursor: pointer;
}

.center-content-block {
  text-align: center;

  &>span {
    display: inline-block;
  }
}

.scroll-container {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.is-link {
  color: #35adff!important;
}

.grey-stage{
  background-color: #f7f7f7;
}

.white-stage{
  background-color: #fff;

  .scroll-view{
  background-color: #fff;
  }
}

.container {
  padding-bottom: 50px;
}


.mgt-6{
  margin-top: 6px!important;
}

.mgt-15 {
  margin-top: 150px!important;
}

.pdt-50{
  padding-top: 41px;
}

.address-field .weui-cell__ft {
    max-width: 228px;
    text-align: justify;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.rela-tip-main,.cancel-blocker,.remove-ico {
  line-height: initial;
}

.no-margin-left {
  margin-left: 0!important;
}

.no-padding-right {
  padding-right: 0!important;
}

span.prmiary-btn {
  font-size: 12px;
  border-radius: 2px;
  color: #43afff;
  border: 1px solid #20a0ff;
  padding: 6px 7px;

  &.darker {
    margin-left: 10px;
    color: #20a0ff;
  }
}

.configPopup {

  .vux-no-group-title {
    margin: 0;
  }
}
.remove-ico {
  float: right;
}

.cancel-blocker {
  font-size: 12px;
}

.with-popup-pd {

}

.rela-tip-main {
  padding: 10px 0 2px;
  min-height: 30px;
  text-align: center;
}

.pagination-fixer {
  position: fixed;
  text-align: center;
  background-color: #EFEFF4;
  z-index: 1;
  top: 37px;
  padding-top: 10px;
  height: 44px;
  width: 100%;
}

.rela-result-tip {
    border-radius: 6px;
    line-height: normal;
    color: grey;
    padding: 4px 10px;
    overflow: hidden;
    display: inline-block;
}

.top-list-counter {
    border-radius: 10px;
    color: white;
    font-size: 12px;
    text-align: center;
    background-color: #CCCCCC;
}

a.view-detail {
  display: inline-block;
  padding-right: 12px;
  line-height: 12px;
  height: 12px;
  font-size: 13px;
  color: #a9a6a6;
}

.scroll-view {
  // -webkit-transform:translate3d(0,0,0);
  /* -- Attention: This line is extremely important in chrome 55+! -- */
  touch-action: none;

  /* -- Attention-- */
  &.fixed{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 80;
  }

}

.grey-stage {
  .scroll-view{
  background-color: #EFEFF4;
  }
}


body>div{
  &:extend(.clearfix all);
}

html{
  background: white;
}

.vux-x-input-placeholder-right{
  input{
    text-align: right;
  }
}


.scrm-default-btn{
  display: block;
  background-color: #39ADFF;
  color: white;
  text-align: center;
  margin: 0 auto;
  border-radius: 4px;
  padding: 6px 0;
  font-size: 14px;
  width: 80%;
  border: 1px solid #4ca9e5;

  &[disabled] {
    color: #d8d6d6;
    background-color: #f1f5f7;
    border: 1px solid #f1f5f7;
  }
}

.loading-layer {
  padding-bottom: 20px;
}

.pdscroll.none{
  .loading-layer{
    margin-top: 5rem;
  }
}

.pdnormal {

}

.pdscroll:not(.none) {
  .loading-layer{
    margin-top: -0.2rem;
  }
}

.page {
  .pdscroll._v-container {
    top: @scroll-top;

    &.hasSearch {
      top: @scroll-top + @search-input-size+10
    }
  }
}

.dialog-message {
  padding: 20px 0;
}

.vux-close {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 1px solid #ededed;
}

.no-margin {
  margin: 0!important;
}

.no-data-tip {
  text-align: center;
  color: @normal-grey;
  width: 90%;
  margin: 8rem auto;
}


.weui-cells-no-margin {
  margin-top: 20px;
}
.weui-cells-no-margin .weui-cells{
  margin-top: 0;
}


.weui-cells-no-margin .weui-cells__title{
  margin-bottom: 0;
}

.wrote-tip, .wrote-tip:visited, .wrote-tip:active{
  color: #35ADFF;
  display: inline-block;
  padding: 0 2px;
}


.default-user {
  font-size: 12px;
  max-width: 40px;
  max-height: 40px;
  width: 100%;
  height: 100%;
  line-height: 40px;
  color: white;
  background: #35adff;
  border-radius: 100%;
  text-align: center;
  padding: 2px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.social-name:not(.default-user) {
  display: inline-block;
  font-weight: bolder;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 9rem;
}

@media(max-width:375px) {
  .social-name:not(.default-user) {
    max-width: 7rem;
  }
}

@media(max-width:320px) {
  .social-name:not(.default-user) {
    max-width: 4rem;
  }
}

.error-wrapper {
  text-align: center;
}

.empty-btn.btn{
  display: block;
  color: #39ADFF;
  padding: 10px;
}

.block-item {
  display: block;
}

.empty-btn-cell {
  border: 1px solid #39ADFF;
  width: 90%;
  margin: 0 auto;
  border-radius: 4px;
  display: block;
  margin-top: 10px;
}

.baby-list {
  padding-bottom: 10px;

  .label-item {
    margin-top: 4px;
    margin-bottom: 4px;
  }

}

.fixed-bt-btn {
  position: fixed;
  z-index: 80;
  bottom: 68px;
  width: 60px;
  height: 55px;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px;
  background-color: #fff;
  border: none;
  outline: none;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
  font-weight: 700;
  display: block;
  line-height: 38px;
  text-align: center;
  background-color: #35ADFF;
  color: white;
}

.fixed-btr0-btn {
  right: 26px;
}

.fixed-btr1-btn {
  right: 100px;
}
.fixed-btr2-btn {
  right: 174px;
}

@batch-check-item-size: 26px;
.batch-check-item {
  border-radius: 20px;
  width: @batch-check-item-size;
  margin-top: 30px;
  height: @batch-check-item-size;
  line-height: @batch-check-item-size + 4;
  text-align: center;
  margin: 30px 10px 0 0;
  display: inline-block;
  border: 1px solid grey;
  -webkit-appearance: none;

}

.baby-list {
  // margin-top: 10px;
  // border-top: 1px solid #eceaea;
  // border-bottom: 1px solid #eceaea;
  // padding-bottom: 10px;
  // width: 250px;
  margin-left: -8px;

  i {
    font-size: 12px;
    font-weight: 1000;
    font-style: normal;
  }
}


.arrow-go-grey  {
  float: right;
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image:  url("@{QINIU_STATIC}/arrow-go-grey.png");
}

.baby-item-name {
  color: #00AEEE;
  // display: flex;
  line-height: 13px;
  font-size: 16px;
  padding-bottom: 8px;
}

.baby-item-date {
  color: #00AEEE;
  line-height: 13px;
  color: #999;
}

.pink {
  .baby-item-name {
    color: #F18BB1;
  }

  .baby-item-date {

  }
}

.baby-item {
  @size: 13px;
  font-size: @size;
  // height: @size;
  padding: 2px 8px 4px 4px;
  // line-height: 16px;
  float: left;
  color: white;
  border: 1px solid #00AEEE;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 8px;
  display: flex;


  .pull-left {
    display: flex;
    align-items: center;
    padding-right: 4px;
  }


  &.pink {
    border: 1px solid #F18BB1;
  }

  .gender-ico {
    @size: 20px;
    width: @size;
    height: 12px;
    float: left;
    padding-top: 2px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .gender-male {
    background-image:  url("@{QINIU_STATIC}/icon_userinfo_boy.png?2");
  }

  .gender-female {
    background-image:  url("@{QINIU_STATIC}/icon_userinfo_girl.png?2");
  }
}

.list-counter {
  position: absolute;
  bottom: 56px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border: 1px solid #81c7fc;
  border-left: none;
  color: #81c7fc;
  font-size: 12px;
  background: white;
  box-shadow: 0 0 2px #81c7fc;
  padding: 2px 4px 2px 2px;
  line-height: normal;
  left: -1px;
}

.checker-item-active {

  .batch-check-item {
    border: 1px solid #23B2E2!important;
  }

  .selected-ico {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background-color: #23B2E2;
  }
}

.mgr-4 {
  margin-right: 4px;
}

@member-image: "//fin.91mycloud.com/is_member.png";
@qq-image: "//fin.91mycloud.com/qq_ico.png";
@wechat-image: "//fin.91mycloud.com/wetchat_ico.png";
@phone-image: "//fin.91mycloud.com/menu_userinfo_tel.png";
@restart-image: "//fin.91mycloud.com/restart.png";

.member-mark {
  background-image: url("@{member-image}");
}
.restart-mark {
  background-image: url("@{restart-image}");
}

.qq-mark {
  background-image: url("@{qq-image}");
}

.wechat-mark {
  background-image: url("@{wechat-image}");
}

.phone-mark {
  background-image: url("@{phone-image}");
}

.mark-ico {
  display: inline-block;
  // background-color: #09acef;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  margin-right: 6px;
  width: 16px;
  height: 16px;
  border: 1px solid #09acef;
  padding: 2px;
  border-radius: 50%;
}

.social-mark-ico {
  // display: inline-block;
  float: left;
  background-size: 100%;
  // background-color: #09acef;
  background-repeat: no-repeat;
  background-position: center;
  // background-size: 60%;
  margin-left: 4px;
  width: 16px;
  height: 16px;
  // padding: 2px;
  border-radius: 50%;
}

.mark-ovh{
  float: left;
}

.mark-ovh {
  .mark-ico {
    margin-top: 2px;
  }
}

.pmember-mark {
  display: inline-block;
  background-repeat: no-repeat;
  background-image: url("@{member-image}");
  background-position: center;
  background-size: 100%;
  width: 11px;
  height: 12px;
}

.cmember-mark {
  display: inline-block;
  background-repeat: no-repeat;
  background-image: url("@{member-image}");
  background-position: center;
  background-size: 100%;
  width: 18px;
  height: 18px;
}

.popupTips {
  padding: 1em 2em;
}

.invalid-clue {
  background:  url("@{QINIU_STATIC}/clue_invalid.png") no-repeat center center;
  width: 55px;
  height: 55px;
  position: absolute;
  background-size: 100%;
  right: 2px;
  top: -10px;
}

.center-btn-group {
  max-width: 330px;
  margin: 15px auto 0;
}
